package org.jeecg.modules.demo.electriccharge.entity;

import java.io.Serializable;
import java.io.UnsupportedEncodingException;
import java.util.Date;
import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableLogic;
import lombok.Data;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.jeecg.common.aspect.annotation.Dict;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * @Description: 电费
 * @Author: jeecg-boot
 * @Date:   2024-03-29
 * @Version: V1.0
 */
@Data
@TableName("hywy_purchase_electricity_item")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="electric_charge对象", description="电费")
public class ElectricCharge implements Serializable {
    private static final long serialVersionUID = 1L;

    /**id*/
    @TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "id")
    private java.lang.String id;
    /**社区名称*/
    @Excel(name = "社区名称", width = 15)
    @ApiModelProperty(value = "社区名称")
    @Dict(dicCode = "id",dicText = "depart_name",dictTable="sys_depart")
    private java.lang.String communityName;
    /**
     * 账期月份
     */
    @Excel(name = "账期月份", width = 15)
    @ApiModelProperty(value = "账期月份")
    private String zhangMonth;
    /**
     * 账期ID
     */
    private String zhangId;
    /**用户号*/
    @Excel(name = "用户名", width = 15)
    @ApiModelProperty(value = "用户名")
    private java.lang.String ownerNumber;
    /**业主姓名*/
//    @Excel(name = "业主姓名", width = 15)
//    @ApiModelProperty(value = "业主姓名")
//    private java.lang.String ownerName;
    /**购买数量*/
    @Excel(name = "购买数量", width = 15)
    @ApiModelProperty(value = "购买数量")
    private java.math.BigDecimal purchaseQuantity;
    /**购买金额*/
    @Excel(name = "购买金额", width = 15)
    @ApiModelProperty(value = "购买金额")
    private java.math.BigDecimal purchaseAmount;
    /**缴费方式*/
    @Excel(name = "支付方式", width = 15)
    @ApiModelProperty(value = "支付方式")
    @Dict(dictTable = "sys_category", dicText = "name", dicCode = "id")
    private java.lang.String paymentWay;
    /**销售日期*/
    @Excel(name = "销售日期", width = 20, format = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "销售日期")
    private java.util.Date saleDate;
    /**创建时间*/
    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy/MM/dd HH:mm:ss")
    @ApiModelProperty(value = "创建时间")
    private java.util.Date createTime;
    /**
     * 创建方式
     */
    @Dict(dicCode = "eleCode")
    private String createType;
}
